package socketmvc.spring.support.annotation;

import org.springframework.context.annotation.Import;
import socketmvc.spring.support.SocketMvcSpringConfig;
import socketmvc.spring.support.driver.SocketMvcContextRegistrar;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({SocketMvcContextRegistrar.class})
public @interface EnableSocketMvcServer {

    /**
     * 扫描的包
     */
    String[] processorScan();

    /**
     * 其它配置，例如端口配置，过滤器配置等
     */
    Class< ? extends SocketMvcSpringConfig>[] configs();

}
